package com.lwc.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.Size;

@Data
@ApiModel("用户")
public class User {

@ApiModelProperty("id")
    int id;
@ApiModelProperty("账户")
String username;
    @ApiModelProperty("密码")
    String password;
    
    @ApiModelProperty("手机号")
    String mobile;

    @ApiModelProperty("部门")
    String dept;
    @ApiModelProperty("上次登录时间")
    String lastLoginTime;

    @ApiModelProperty("登录ip所属地址")
    String address;

    @ApiModelProperty("用户类型类型")
    Integer type;

}
